﻿using NetCore.ServiceGroup.Esign.HttpDtos;
using WebApiClient;
using WebApiClient.Attributes;

namespace NetCore.ServiceGroup.Esign.HttpApis
{
    /// <summary>
    /// 注册个人和组织账号
    /// </summary>
    [TraceFilter]
    public interface IAccountApi : IHttpApi
    {
        [HttpPost("/tech-sdkwrapper/timevale/account/addPerson")]
        ITask<AddPersonApiResult> AddPerson([JsonContent] PersonBeanDto input);

        [HttpPost("/tech-sdkwrapper/timevale/account/addOrganize")]
        ITask<AddPersonApiResult> AddOrganize([JsonContent] OrganizeBeanDto input);
    }
}